<template>
	<view class="container">
		<image class="icon" src="static/success.png" mode="aspectFit"></image>
		<view class="title">提交成功</view>
		<view class="desc">等待审核</view>

		<view class="btn button-primary" @tap="goHome">返回首页</view>
		<view class="btn button-plain" @tap="goRecord">申请记录</view>
	</view>
</template>

<script>
export default {
	name: 'result',
	data() {
		return {
			userInfo: {}
		};
	},
	methods: {
		goHome() {
			uni.$u.route({
				type: 'switchTab',
				url: '/pages/index/index'
			});
		},
		goRecord() {
			uni.$u.route({
				type: 'redirectTo',
				url: '/pages/manage/record'
			});
		}
	}
};
</script>

<style lang="scss" scoped>
.container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.icon {
	margin-top: 220rpx;
	width: 102rpx;
	height: 102rpx;
}
.title {
	margin: 50rpx 0 10rpx;
	font-size: 32rpx;
	font-weight: 500;
	color: #000000;
}
.desc {
	font-size: 26rpx;
	font-weight: 400;
	color: #9d9d9d;
	margin-bottom: 188rpx;
}
.btn {
	width: 688rpx;
	margin-top: 32rpx;
}
</style>
